#include"graph.h"

double g [][MAX] = 
{{0, 4, 6, 6, INF, INF, INF},
 {INF, 0, 1, INF, 7, INF, INF},
 {INF, INF, 0, INF, 6, 4, INF},
 {INF, INF, 2, 0, INF, 5, INF},
 {INF, INF, INF, INF, 0, INF, 6},
 {INF, INF, INF, INF, 1, 0, 8},
 {INF, INF, INF, INF, INF, INF, 0}};



int main ()
{
	AdjList *adj_list = NULL;
	create(&adj_list, g, 7, 12);
	print(adj_list);
	top_sort(adj_list);
	destroy(adj_list);
	
	return 0;
}
